//https://leetcode-cn.com/problems/fizz-buzz
class Solution
{
public:
    vector<string> fizzBuzz(int n)
    {
        vector<string> back;
        for (int i = 1; i <= n; i++)
        {
            int cal_3 = i % 3;
            int cal_5 = i % 5;
            string add_string = "";
            if (0 == cal_3)
            {
                add_string += "Fizz";
            }
            if (0 == cal_5)
            {
                add_string += "Buzz";
            }
            if (add_string == "")
            {
                add_string += to_string(i);
            }
            back.push_back(add_string);
        }
        return back;
    }
};